<template>
  <view v-if="shenheStatus == 0" class="feedback">
    <view>
      <u-input
        v-model="value"
        type="textarea"
        height="240"
        :placeholder="$t('user.feedback')"
        focus
        :clearable="false"
      />
    </view>
    <view class="btn flex-y-center flex-x-center">{{ $t('home.submit') }}</view>
  </view>
  <Shenhe v-else-if="shenheStatus == 1"></Shenhe>
</template>

<script>
import Shenhe from '@/components/shenhe/shenhe';
export default {
  components: { Shenhe },
  data() {
    return {
      value: '',
    };
  },
};
</script>

<style lang="scss" scoped>
.feedback {
  background: #f2f2f2;
  box-sizing: border-box;
  min-height: 100vh;
  /deep/.u-input__textarea {
    padding: 30rpx 36rpx;
    background: #fff;
    font-size: 30rpx;
  }

  .btn {
    margin: 80rpx auto 0;
    width: 678rpx;
    height: 88rpx;
    background: #f0250e;
    opacity: 1;
    border-radius: 120rpx;
    font-size: 32rpx;
    font-weight: 500;
    color: #ffffff;
  }
}
</style>
